package dao;

import java.util.Date;

/**
 * AbstractAdvertise entity provides the base persistence definition of the
 * Advertise entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractAdvertise implements java.io.Serializable {

	// Fields

	private Integer advertiseid;
	private User user;
	private Integer location;
	private Date datemonth;
	private Integer price;
	private String advfile;
	private String treatfile;
	private String advstatus;

	// Constructors

	/** default constructor */
	public AbstractAdvertise() {
	}

	/** full constructor */
	public AbstractAdvertise(User user, Integer location, Date datemonth,
			Integer price, String advfile, String treatfile, String advstatus) {
		this.user = user;
		this.location = location;
		this.datemonth = datemonth;
		this.price = price;
		this.advfile = advfile;
		this.treatfile = treatfile;
		this.advstatus = advstatus;
	}

	// Property accessors

	public Integer getAdvertiseid() {
		return this.advertiseid;
	}

	public void setAdvertiseid(Integer advertiseid) {
		this.advertiseid = advertiseid;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Integer getLocation() {
		return this.location;
	}

	public void setLocation(Integer location) {
		this.location = location;
	}

	public Date getDatemonth() {
		return this.datemonth;
	}

	public void setDatemonth(Date datemonth) {
		this.datemonth = datemonth;
	}

	public Integer getPrice() {
		return this.price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public String getAdvfile() {
		return this.advfile;
	}

	public void setAdvfile(String advfile) {
		this.advfile = advfile;
	}

	public String getTreatfile() {
		return this.treatfile;
	}

	public void setTreatfile(String treatfile) {
		this.treatfile = treatfile;
	}

	public String getAdvstatus() {
		return this.advstatus;
	}

	public void setAdvstatus(String advstatus) {
		this.advstatus = advstatus;
	}

}